/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.article;

import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import util.article.SizeDetails;

/**
 *
 * @author Joris
 */
@Local
public interface Size1FacadeLocal {

    void create(Size1 size1);

    void edit(Size1 size1);

    void remove(Size1 size1);

    Size1 find(Object id);

    List<Size1> findAll();

    List<Size1> findRange(int[] range);

    int count();

    public Integer createSize(String name);

    public void editSize(Integer id, String name);

    public void removeSize(Integer id);

    public SizeDetails getSize(Integer id);

    public Size1 createSize(SizeDetails sd, Article a);

    public SizeDetails convert(Size1 size);

    public Collection<SizeDetails> convert(Collection<Size1> sizes);
    
}
